public void BindDisabled()
        {
            var mockBreakpointLocations = CreateMockBreakpointLocations(1);

            MockBreakpoint(mockBreakpointLocations);
            MockDocumentPosition(TEST_FILE_NAME, LINE_NUMBER, COLUMN_NUMBER);

            var mockBoundBreakpoint = Substitute.For <IBoundBreakpoint>();

            mockBoundBreakpointFactory.Create(pendingBreakpoint, mockBreakpointLocations[0],
                                              mockProgram, Guid.Empty).Returns(mockBoundBreakpoint);

            pendingBreakpoint.Enable(0);
            var result = pendingBreakpoint.Bind();
            IDebugErrorBreakpoint2 breakpointError = GetBreakpointError();

            var boundBreakpoints = GetBoundBreakpoints();

            Assert.AreEqual(1, boundBreakpoints.Count);
            Assert.AreSame(mockBoundBreakpoint, boundBreakpoints[0]);
            mockBoundBreakpoint.Received().Enable(0);

            mockBreakpointManager.Received().RegisterPendingBreakpoint(pendingBreakpoint);
            Assert.AreEqual(null, breakpointError);
            Assert.AreEqual(VSConstants.S_OK, result);
        }
 public void Enable()
 {
     Assert.AreEqual(AD7Constants.E_BP_DELETED, pendingBreakpoint.Enable(1));
 }