public void TestRead() { blob.store(5); mappedBlob.read().get.getOrThrow.shouldEqual("5"); }
public Option <Try <B> > read() => backing.read().map(_ => _.map(bimap.map));
public void TestStore() { mappedBlob.store("3"); blob.read().get.getOrThrow.shouldEqual(3); }