use of cz.o2.proxima.storage.AbstractStorage in project proxima-platform by O2-Czech-Republic.
the class AbstractStorageTest method testAbstractStorageNotSerializable.
@Test
public void testAbstractStorageNotSerializable() {
AbstractStorage storage = getStorage(gateway);
assertThrows(NotSerializableException.class, () -> TestUtils.serializeObject(storage));
}
use of cz.o2.proxima.storage.AbstractStorage in project proxima-platform by O2-Czech-Republic.
the class AbstractStorageTest method testSerializable.
@Test
public void testSerializable() throws IOException, ClassNotFoundException {
AbstractStorage storage = getSerializableStorage(gateway);
TestUtils.assertSerializable(storage);
}
Aggregations