use of org.springframework.jdbc.core.support.SqlLobValue in project sakuli by ConSol.
the class DaoTestCaseImplTest method testGetScreenshotAsSqlLobValue.
@Test
public void testGetScreenshotAsSqlLobValue() throws Exception {
Path screenshotPath = Paths.get(this.getClass().getResource("computer.png").toURI());
TestCase testCase = new TestCaseExampleBuilder().withException(new SakuliExceptionWithScreenshot("test-exception", screenshotPath)).buildExample();
SqlLobValue result = testling.getScreenshotAsSqlLobValue(testCase);
assertNotNull(result);
}
Aggregations