private static final String USERNAME = "NewUsername";
private static final String SEQUENCE_NAME = "ordernum";
public void testShouldInsertNewOrderWithLineItems() {
Order expected = DomainFixture.newTestOrder();
int nextId = 900001;
expected.setOrderId(nextId);
orderDao.insertOrder(expected);
Order actual = orderDao.getOrder(nextId);
assertNotNull(actual);
assertEquals(1, actual.getLineItems().size());
assertEquals(new BigDecimal("99.99"), actual.getTotalPrice());
}