Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
BinaryStudio
ClientManager
WebUi
Tests
Controllers
EmployeesControllerTests
SetUp
BinaryStudio.ClientManager.WebUi.Tests.Controllers.EmployeesControllerTests.SetUp C# (CSharp) Метод
Документация по классу EmployeesControllerTests
Показать файл
Открыть проект
SetUp()
приватный
Метод
private
SetUp
( ) :
void
Результат
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