public async Task Given_Nothing_When_Getting_Profiles_Then_Returns_ProfileCollection() { profileContext.Get().ReturnsForAnyArgs(new List <Profile>()); var users = await sut.Get(); users.Should().BeOfType <List <Profile> >(); }
public Task <List <Profile> > Get() { return(profileContext.Get()); }