public void GetDoesntExistUser_ReturnsNull() { var user = new StubIUser() { NickGet = () => { return(testNick); } }; Assert.AreEqual(null, service.GetUser(user.NickGet())); }
public void GetExistUser_ReturnUser() { var user = new StubIUser() { NickGet = () => { return(testNick); } }; service.SignUp(user); Assert.AreEqual(user, service.GetUser(user.NickGet())); }