public void IsFragmentedFalse() { With.Mocks(_mockRepository).Expecting(delegate { _dataPacket1.Stub(x => x.GetFragment(0L)).Return(_dataPacket2); _dataPacket1.Stub(x => x.Length).Return(DataPacketLength); _dataPacket2.Stub(x => x.Length).Return(DataPacketLength); }).Verify(delegate { Assert.IsFalse(_dataPacket1.IsFragmented()); }); }