@Test
public void operations_are_passed_to_emitter() throws Exception {

  given(agent.inspectModel("one", 1)).willReturn(singletonList(add("/value", 1)));
  given(agent.inspectModel("two", 2)).willReturn(singletonList(add("/value", 2)));
  inspector.inspect();
  then(emitter).should().emit(new PatchSet("one", singletonList(add("/value", 1))));
  then(emitter).should().emit(new PatchSet("two", singletonList(add("/value", 2))));
}