public void JsonSerializerOptionsTest(NitroLoginRequestData dataRoot, string expected)
        {
            var serializedCredentials = JsonSerializer.Serialize(dataRoot, _test);

            Assert.Equal(expected, serializedCredentials);
        }
Exemple #2
0
 public NitroLoginRequestDataTest()
 {
     _test = new NitroLoginRequestData("nsroot", "nsroot", 8000);
 }