public void JsonSerializerOptionsTest(NitroLoginRequestData dataRoot, string expected) { var serializedCredentials = JsonSerializer.Serialize(dataRoot, _test); Assert.Equal(expected, serializedCredentials); }
public NitroLoginRequestDataTest() { _test = new NitroLoginRequestData("nsroot", "nsroot", 8000); }