public void SetUp() { _implementationMethodInformationStub = MockRepository.GenerateStub <IMethodInformation>(); _declarationMethodInformationStub = MockRepository.GenerateStub <IMethodInformation>(); _interfaceImplementationMethodInformation = new InterfaceImplementationMethodInformation( _implementationMethodInformationStub, _declarationMethodInformationStub); _mixinIntroducedMethodInformation = new MixinIntroducedMethodInformation(_interfaceImplementationMethodInformation); }
public void GetHashcode() { var equalObject = new InterfaceImplementationMethodInformation(_implementationMethodInformationStub, _declarationMethodInformationStub); Assert.That(_interfaceImplementationMethodInformation.GetHashCode(), Is.EqualTo(equalObject.GetHashCode())); }