Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
BinaryStudio
ClientManager
WebUi
Tests
Controllers
EmployeesControllerTests
SetUp
BinaryStudio.ClientManager.WebUi.Tests.Controllers.EmployeesControllerTests.SetUp C# (CSharp) Méthode
EmployeesControllerTests Class Documentation
Afficher le fichier
Open project: titarenko/ClientManager
SetUp()
private
méthode
private
SetUp
( ) :
void
Résultat
void
public void SetUp() { appContext.CurrentTeam.Returns(new Team()); }
EmployeesControllerTests
SetUp
ShouldNot_ReturnNullAndShouldCallMethodGetOfIRepository_WhenRequestedDetails
ShouldNot_ReturnNullAnd_ShouldCallMethodGetOfIRepository_WhenRequestedEditWith1Parameter
ShouldNot_RiseException_WhenListOfEmployeeIsEmpty
Should_GoToDetailsViewAndCallSaveMethodOfIRepository_WhenRequestedEditWith2Parameters
Should_ReturnListOf200Employees_WhenRequestedIndexWith200EmployeesExistsInRepository