Esempio n. 1
0
        public async Task Test_Delete_Deletes_Team()
        {
            await controller.DeleteConfirmed(1);

            context.MockTeams.Verify(x => x.Remove(It.Is <Team>(t => t.TeamId == 1)));
        }