public void ReplicatesEqualButNotSameObjects_FactoryIsCalledForEach() { var source1 = new AlwaysEqualsClass(); var source2 = new AlwaysEqualsClass(); replicationContext.Replicate(source1); replicationContext.Replicate(source2); replicationStrategy .CallsTo(x => x.Replicate(null, null)).WithAnyArguments() .MustHaveHappened(Repeated.Exactly.Twice); }
private bool Equals(AlwaysEqualsClass other) { return true; }
private bool Equals(AlwaysEqualsClass other) { return(true); }