@Test
  public void testUpdate() {
    // Verify behavior: calling update does not send an event
    AnActionEvent event = null; // Using null since I can't figure out how to create one of these
    String name = "myAction";
    Map<String, String> properties = new HashMap<String, String>();
    TestAction testAction = new TestAction(name);
    testAction.update(event);
    assertLogged("");

    // Verify behavior: exception in update logs the exception
    name = "myAction2";
    testAction = new TestAction(name);
    testAction.setThrowOnUpdate(true);
    testAction.update(event);
    assertLogged("sendException(throwOnUpdate, {VSO.Plugin.Property.Name=myAction2})");
  }