GetAllUserPerformedPublic() public method

Gets all the public events that have been performed by a given user.
http://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user
public GetAllUserPerformedPublic ( string user ) : Task>
user string The login of the user
return Task>
            public async Task EnsuresArgumentsNotNull()
            {
                var connection = Substitute.For<IApiConnection>();
                var client = new EventsClient(connection);

                await Assert.ThrowsAsync<ArgumentNullException>(() => client.GetAllUserPerformedPublic(null));
                await Assert.ThrowsAsync<ArgumentException>(() => client.GetAllUserPerformedPublic(""));
            }
            public void RequestsCorrectUrl()
            {
                var connection = Substitute.For<IApiConnection>();
                var client = new EventsClient(connection);

                client.GetAllUserPerformedPublic("fake");

                connection.Received().GetAll<Activity>(Arg.Is<Uri>(u => u.ToString() == "users/fake/events/public"));
            }