Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Blog
Common
Web
Tests
Attributes
ValidateUsernameAttributeTest
TestInit
Blog.Common.Web.Tests.Attributes.ValidateUsernameAttributeTest.TestInit C# (CSharp) Method
ValidateUsernameAttributeTest Class Documentation
Mostrar archivo
Open project: jsnmgpnty/Blogness2.0
TestInit()
private
method
private
TestInit
( ) :
void
return
void
public void TestInit() { _userResource = new Mock<IUsersResource>(); }
ValidateUsernameAttributeTest
ShouldReturnFalseWhenFetchingUserFails
ShouldReturnFalseWhenParameterIsNull
ShouldReturnFalseWhenUserErrorIdIsNotRecordNotFound
ShouldReturnFalseWhenUserErrorIsNull
ShouldReturnFalseWhenUserReturnedIsNull
ShouldReturnFalseWhenUsernameIsEmptyOrNull
ShouldReturnFalseWhenUsernameIsNotString
ShouldReturnTrueWhenUsernameIsValid
TestInit