source: class EditorImplTest {
  
      @Rule
      public ExpectedException thrown;
      private Grid<String> grid;
      private TestEditor editor;
      private MockUI ui;
  
      @Test
      public void editItem_itemIsKnown_binderStatusEventAndEditorOpenEvent() {
  
target:         AtomicReference<StatusChangeEvent> statusEventCapture = new AtomicReference<>();
          AtomicReference<EditorEvent<String>> openEventCapure = new AtomicReference<EditorEvent<String>>();
          assertOpenEvents(statusEventCapture, openEventCapure);
  
          // In not buffered mode there is the bean in the binder
          Assert.assertEquals("bar", editor.getBinder().getBean());
      }
  
  }