public void Should_CreateNewUser_WhenThisUserNotExistingYet()
{
const string Username = "username";
const string Password = "password";
const string Email = "[email protected]";
this.userRepositoryMock.Setup(x => x.GetByName(Username)).Returns((User)null);
// act
var result = this.userProcessor.CreateUser(Username, Password, Email, string.Empty, null, null);
// assert
Assert.AreEqual(result, true);
}