Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
BinaryStudio
ClientManager
WebUi
Tests
Controllers
EmployeesControllerTests
SetUp
BinaryStudio.ClientManager.WebUi.Tests.Controllers.EmployeesControllerTests.SetUp C# (CSharp) Method
EmployeesControllerTests Class Documentation
显示文件
Open project: titarenko/ClientManager
SetUp()
private
method
private
SetUp
( ) :
void
return
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