public void Verify(CallSequenceLoggingPipeline expectedPipeline) { List <KeyValuePair <PipelineMethod, object> > expectedCalls = expectedPipeline.methodCalls; List <KeyValuePair <PipelineMethod, object> > actualCalls = this.methodCalls; SpatialTestUtils.AssertEqualContents(expectedCalls, actualCalls); }
private void VerifyBuiltOnly(params Geography[] shapes) { SpatialTestUtils.AssertEqualContents(this.constructedInstances, shapes); foreach (var instance in constructedInstances) { Assert.Same(this.creator, instance.Creator); } }
private void AssertBothNodesSeeTheseCalls(params Call[] expectedCalls) { SpatialTestUtils.AssertEqualContents(expectedCalls, this.currentNode.Calls); SpatialTestUtils.AssertEqualContents(expectedCalls, this.downstreamSegment.Calls); }