public void AddTypeCreatorThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.AddTypeCreator<DefaultTypeCreator>(); action.ShouldThrow<ArgumentNullException>(); }