Class UnityMenuPresenterFactoryTests
Tests for Serenity.Menu.InterfaceAdapters.Presenters.Factories.UnityMenuPresenterFactory: the factory produces an Serenity.Menu.Application.Interfaces.Presenters.IMenuPresenter wired to the supplied view models, and the explicit IUiPresenterFactory overload returns the same presenter type. A null player-input service is used since the produced presenter's menu operations never touch it.
Inherited Members
Namespace: Serenity.UnityMenu.Tests.InterfaceAdapters
Assembly: Tests.dll
Syntax
public class UnityMenuPresenterFactoryTests
Constructors
UnityMenuPresenterFactoryTests()
Declaration
public UnityMenuPresenterFactoryTests()
Methods
CreatePresenter_ProducesPresenterBoundToSuppliedViewModels()
Declaration
public void CreatePresenter_ProducesPresenterBoundToSuppliedViewModels()
CreatePresenter_ReturnsNonNullMenuPresenter()
Declaration
public void CreatePresenter_ReturnsNonNullMenuPresenter()
IUiPresenterFactory_CreatePresenter_ReturnsMenuPresenter()
Declaration
public void IUiPresenterFactory_CreatePresenter_ReturnsMenuPresenter()
Implements_IMenuPresenterFactory()
Declaration
public void Implements_IMenuPresenterFactory()