format
This commit is contained in:
parent
61ffac2c77
commit
1d26380c07
|
@ -50,9 +50,7 @@ public class SpringCastTest {
|
||||||
@Test
|
@Test
|
||||||
public void givenExecutorGeneric_whenQueryReturnsOneColumn_thenNoClassCastThrown() {
|
public void givenExecutorGeneric_whenQueryReturnsOneColumn_thenNoClassCastThrown() {
|
||||||
List<DummyEntity> results = QueryExecutor.executeNativeQueryGeneric("select text from dummy", "textQueryMapping", em);
|
List<DummyEntity> results = QueryExecutor.executeNativeQueryGeneric("select text from dummy", "textQueryMapping", em);
|
||||||
assertEquals("text", results
|
assertEquals("text", results.get(0).getText());
|
||||||
.get(0)
|
|
||||||
.getText());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue