'Test the retrieval of the next order number from the database'

@blocking_call_on_reactor_thread
def test_get_next_order_number(self):

    self.assertEqual(self.database.get_next_order_number(), 1)
    self.database.add_order(self.order1)
    self.assertEqual(self.database.get_next_order_number(), 5)
