HomePageVmImplTests
Namespace: SlottyMedia.Tests.Viewmodel
Tests for the HomePageVmImpl class.
public class HomePageVmImplTests
Inheritance Object → HomePageVmImplTests
Constructors
HomePageVmImplTests()
public HomePageVmImplTests()
Methods
SetUp()
Sets up the test environment by initializing mocks and the system under test.
public void SetUp()
Initialize_SetsInitialValuesAndLoadsFirstPage()
Tests that the Initialize method sets initial values and loads the first page.
public Task Initialize_SetsInitialValuesAndLoadsFirstPage()
Returns
LoadPage_SetsLoadingStateAndLoadsSpecifiedPage()
Tests that the LoadPage method sets the loading state and loads the specified page.
public Task LoadPage_SetsLoadingStateAndLoadsSpecifiedPage()
Returns
LoadPage_HandlesEmptyPage()
Tests that the LoadPage method handles an empty page correctly.
public Task LoadPage_HandlesEmptyPage()