// create a Subscription from a Tariff
 @Test
 public void testSimpleSub() {
   TariffSubscription ts = tariffMarketService.subscribeToTariff(tariff, customer, 3);
   assertNotNull("non-null subscription", ts);
   assertEquals("correct customer", customer, ts.getCustomer());
   assertEquals("correct tariff", tariff, ts.getTariff());
   assertEquals("correct customer count", 3, ts.getCustomersCommitted());
 }