public void TheIsUsernameAndPasswordAuthenticationMethod(string username, string password, string token, bool expectedValue) { var authenticationInfo = new AuthenticationInfo { Username = username, Password = password, Token = token }; Assert.AreEqual(expectedValue, authenticationInfo.IsUsernameAndPasswordAuthentication()); }