public void ComposeThrowsWithNullArguments() { Assert.ThrowsException <ArgumentNullException>( () => Projection.Compose <int, object, object>(null, i => i)); Assert.ThrowsException <ArgumentNullException>( () => Projection.Compose( Projection.Identity <int>(), (Func <int, object>)null)); Assert.ThrowsException <ArgumentNullException>( () => Projection.Compose( Projection.Identity <int>(), (IProjection <int, object>)null)); }