    @Test
    public void deletingComponentAddsToHistoryManager() throws PetriNetComponentException {

        Place place = new DiscretePlace("", "");
        net.addPlace(place);

        UndoableEdit edit = controller.delete(place);

        DeletePetriNetObject deleteAction = new DeletePetriNetObject(place, net);
        assertEquals(edit, deleteAction);
    }