Search in sources :

Example 11 with Image

use of tech.aroma.thrift.Image in project aroma-data-operations by RedRoma.

the class MemoryMediaRepositoryTest method testGetMedia.

@Test
public void testGetMedia() throws Exception {
    instance.saveMedia(mediaId, image);
    Image result = instance.getMedia(mediaId);
    assertThat(result, is(image));
}
Also used : Image(tech.aroma.thrift.Image) Test(org.junit.Test)

Aggregations

Image (tech.aroma.thrift.Image)11 Test (org.junit.Test)9 Dimension (tech.aroma.thrift.Dimension)5 IntegrationTest (tech.sirwellington.alchemy.annotations.testing.IntegrationTest)3 ResultSet (com.datastax.driver.core.ResultSet)2 Row (com.datastax.driver.core.Row)2 Statement (com.datastax.driver.core.Statement)2 DontRepeat (tech.sirwellington.alchemy.test.junit.runners.DontRepeat)1