public void SetConstructorResolverThrowsExceptionWithNullCompilerTest() { IBuildStrategyCompiler target = null; Action action = () => target.SetConstructorResolver<DefaultConstructorResolver>(); action.ShouldThrow<ArgumentNullException>(); }