@Test
public void shouldAssignIdToExpense() throws Exception {

    final Nobt nobt = aNobt().build();
    nobt.createExpenseFrom(anExpenseDraft().build());
    assertThat(nobt, hasExpenses(
            allOf(
                    iterableWithSize(greaterThan(0)),
                    everyItem(
                            hasId(notNullValue(Long.class))
                    )
            )
    ));
}