public void EqualsWithDeclaringInterfaceTest()
        {
            // Arrange
            var firstProxyDefinition = new InterfaceProxyDefinition(typeof (IOne), new[] {typeof (IBase)});
            var secondProxyDefinition = new InterfaceProxyDefinition(typeof (IOne), Type.EmptyTypes);

            // Act
            var equals = firstProxyDefinition.Equals(secondProxyDefinition);

            // Assert
            Assert.That(equals, Is.True);
        }
        public void EqualsWithSwappedInterfacesTest()
        {
            // Arrange
            var firstProxyDefinition = new InterfaceProxyDefinition(typeof (IBase), new[] {typeof (IOne), typeof (ITwo)});
            var secondProxyDefinition = new InterfaceProxyDefinition(typeof (IBase), new[] {typeof (ITwo), typeof (IOne)});

            // Act
            var equals = firstProxyDefinition.Equals(secondProxyDefinition);

            // Assert
            Assert.That(equals, Is.True);
        }