@Test(expected = BinaryStoreException.class)
public void shouldFailWhenGettingTheTextOfBinaryWhichIsntStored() throws RepositoryException {

    getBinaryStore().getText(new StoredBinaryValue(getBinaryStore(), invalidBinaryKey(), 0));
}