public void UpdateLocationsLocationsRemoved() { MockDocumentPosition(TEST_FILE_NAME, LINE_NUMBER, COLUMN_NUMBER); MockBreakpoint(0); pendingBreakpoint.Bind(); MockBreakpoint(3); pendingBreakpoint.UpdateLocations(); mockBreakpointManager.ClearReceivedCalls(); MockBreakpoint(0); pendingBreakpoint.UpdateLocations(); mockBreakpointManager.DidNotReceiveWithAnyArgs().EmitBreakpointBoundEvent( Arg.Any <IPendingBreakpoint>(), Arg.Any <IEnumerable <IDebugBoundBreakpoint2> >(), Arg.Any <BoundBreakpointEnumFactory>()); mockBreakpointManager.Received(1) .ReportBreakpointError(Arg.Any <DebugBreakpointError>()); Assert.That(pendingBreakpoint.EnumBoundBreakpoints(out var boundBreakpoints), Is.EqualTo(VSConstants.S_OK)); Assert.That(boundBreakpoints.GetCount(out uint count), Is.EqualTo(VSConstants.S_OK)); Assert.That(count, Is.EqualTo(0)); }