public void Given_UserTypes_When_GetUserTypesAsyncsIsCalled_Then_ShouldReturnZeroUserTypes() { RunOnDatabase(context => { // ARRANGE var userTypesRepository = new RolesRepository(context); // ACT var userTypes = userTypesRepository.GetAllAsync(); var counter = userTypes.Result.Count; // ASSERT counter.Should().Be(0); }); }