@Test
public void testSetDelivery() {

    Configuration configuration = new Configuration("5d1ec5bd39a74caa1267142706a7fb21");
    assertNull(configuration.getDelivery());
    Delivery delivery = new Delivery() {
        @NotNull
        @Override
        public DeliveryStatus deliver(@NotNull Session payload,
                                      @NotNull DeliveryParams deliveryParams) {
            return null;
        }
        @NotNull
        @Override
        public DeliveryStatus deliver(@NotNull EventPayload payload,
                                      @NotNull DeliveryParams deliveryParams) {
            return null;
        }
    };
    configuration.setDelivery(delivery);
    assertFalse(configuration.getDelivery() instanceof DefaultDelivery);
    assertEquals(delivery, configuration.getDelivery());
}