### Question:
TiServiceEvent implements TriggerEvent { public static Builder forEvent(EventName event) { return new Builder(event); } private  TiServiceEvent(EventName event, UUID organization, AccessMode accessMode, Map<String, ?> contextParameters); @Override UUID getId(); @Override long getTimestamp(); @Override String getService(); @Override String getEvent(); @Override UUID getOrganization(); @Override AccessMode getAccessMode(); @Override String getScope(); @Override Map<String, ?> getContextParameters(); static Builder forEvent(EventName event);  }### Answer:
@Test(expected = RuntimeException.class) public void testCreateTiServiceEventWithoutEvent() { TiServiceEvent.forEvent(null) .setOrganization(UUID.randomUUID()) .setAccessMode(no.mnemonic.act.platform.api.model.v1.AccessMode.Public) .build(); }
@Test(expected = RuntimeException.class) public void testCreateTiServiceEventWithoutOrganization() { TiServiceEvent.forEvent(FactAdded) .setAccessMode(no.mnemonic.act.platform.api.model.v1.AccessMode.Public) .build(); }
@Test(expected = RuntimeException.class) public void testCreateTiServiceEventWithoutAccessMode() { TiServiceEvent.forEvent(FactAdded) .setOrganization(UUID.randomUUID()) .build(); }