@Test
  public void testGetInvoices() {

    // Given
    InvoiceNotification invoiceNotification = new InvoiceNotification();
    when(raindanceInvoiceService.getInvoices(anyString(), anyBoolean()))
        .thenReturn(Arrays.asList(invoiceNotification));

    // When
    List<InvoiceNotification> invoiceNotifications = notificationService.getInvoices("asldkfj");

    // Then
    assertEquals(1, invoiceNotifications.size());
  }