public void SuccessAuthorize() { var auth = new HardCodeAuthorize(); var result = auth.Auth("user", "pass"); Assert.Equal(true, result); }
public void FiledAuthorize() { var auth = new HardCodeAuthorize(); var result = auth.Auth("user", "eeee"); Assert.Equal(false, result); }