public void should_return_empty_collection_when_stream_is_not_in_db() { long position; Assert.IsFalse(_tableIndex.TryGetOneValue("0xFEED", 0, out position)); }
public void throw_argumentoutofrangeexception_on_get_one_entry_query_when_provided_with_negative_version() { long pos; Assert.Throws <ArgumentOutOfRangeException>(() => _tableIndex.TryGetOneValue("0x0000", -1, out pos)); }
public void should_not_return_one_value_for_nonexistent_stream() { long pos; Assert.IsFalse(_tableIndex.TryGetOneValue("7", 0, out pos)); }