@Test
  public void testConversions() {
    salesAnalyst.addAccount(alice);

    salesAnalyst.addConversions(alice, new Query(), 10, 1.0);

    assertEquals(salesAnalyst.getRecentConversions(alice), 10.0, 0.0);

    salesAnalyst.addConversions(alice, new Query(), 12, 2.0);

    assertEquals(salesAnalyst.getRecentConversions(alice), 22.0, 0.0);

    salesAnalyst.sendSalesReportToAll();

    assertEquals(salesAnalyst.getRecentConversions(alice), 22.0, 0.0);

    salesAnalyst.addConversions(alice, new Query(), 5, 2.0);

    assertEquals(salesAnalyst.getRecentConversions(alice), 27.0, 0.0);

    salesAnalyst.sendSalesReportToAll();

    assertEquals(salesAnalyst.getRecentConversions(alice), 5.0, 0.0);
  }
 @Test
 public void testAddAccount() {
   assertEquals(salesAnalyst.size(), 0, 0);
   salesAnalyst.addAccount(alice);
   assertEquals(salesAnalyst.size(), 1, 0);
 }