public void Parse_returns_parsed_object() { var json = OneFile.Parse(GetBinaryFixture("blob", "bin"), TestData.Password); Assert.NotNull(json["i"]); Assert.NotNull(json["c"]); }
public void Parse_returns_parsed_object() { var json = OneFile.Parse(TestData.Blob, TestData.Password); Assert.That(json["i"], Is.Not.Null); Assert.That(json["c"], Is.Not.Null); }
private static void Parse(byte[] content) { OneFile.Parse(content, "password"); }
private static TestDelegate Parse(byte[] content) { return(() => OneFile.Parse(content, "password")); }