def METHOD_NAME(self):
    """Tests that we get a valid object."""
    fileobj = givefile(self.filename, self.file_content)
    store = factory.getobject(fileobj)
    assert isinstance(store, self.expected_instance)
    assert store == factory.getobject(store)