public static void EnsureWrite(this IMockDataProvider sut, JSchema schema)
 {
     if (!TryGetMockData(sut, schema, out _))
     {
         throw new XunitException($"{sut.GetType().Name} is expected to write given schema, but did not.");
     }
 }
 public static string GetMockData(this IMockDataProvider sut, JSchema schema)
 {
     if (TryGetMockData(sut, schema, out var data))
     {
         return(data);
     }
     throw new XunitException($"{sut.GetType().Name} is expected to write value, but did not.");
 }