void () { XLineBreakpoint<?> master = createMaster(); XLineBreakpoint<?> slave = createSlave(); myDependentBreakpointManager.setMasterBreakpoint(slave, master, true); assertSame(master, myDependentBreakpointManager.getMasterBreakpoint(slave)); assertTrue(myDependentBreakpointManager.isLeaveEnabled(slave)); assertSame(slave, assertOneElement(myDependentBreakpointManager.getSlaveBreakpoints(master))); assertSame(slave, assertOneElement(myDependentBreakpointManager.getAllSlaveBreakpoints())); removeBreakPoint(myBreakpointManager, master); assertNull(myDependentBreakpointManager.getMasterBreakpoint(slave)); assertEmpty(myDependentBreakpointManager.getAllSlaveBreakpoints()); }