public static void PresenterType_IsSetCorrectly()
        {
            // Arrange
            var presenterType = Substitute.For <IPresenter <IView> >().GetType();

            // Act
            var attribute = new PresenterBindingAttribute(presenterType);

            // Assert
            Assert.Equal(presenterType, attribute.PresenterType);
        }
        public static void ViewType_IsNull_ForDefaultConstructor()
        {
            // Arrange
            var presenterType = Substitute.For <IPresenter <IView> >().GetType();

            // Act
            var attribute = new PresenterBindingAttribute(presenterType);

            // Assert
            Assert.Null(attribute.ViewType);
        }
        public static void BindingMode_IsDefault_ForDefaultConstructor()
        {
            // Arrange
            var presenterType = Substitute.For <IPresenter <IView> >().GetType();

            // Act
            var attribute = new PresenterBindingAttribute(presenterType);

            // Assert
            Assert.Equal(PresenterBindingMode.Default, attribute.BindingMode);
        }