public void IsValidTest() { StubProfileDao stubProfile = new StubProfileDao(); StubRsaTokenDao stubRsaToken = new StubRsaTokenDao(); var target = new AuthenticationService(stubProfile, stubRsaToken); var actual = target.IsValid("joey", "91000000"); //always failed Assert.IsTrue(actual); }