using AvParser.UI.ViewModels;
namespace AvParser.UI.Tests.Fakes;
/// A navigation destination with no behaviour, for exercising the shell and the stack.
///
/// Takes a real resource key rather than a literal caption, so the tests exercise the same
/// lookup the app does instead of a special case that would hide a broken key.
///
internal sealed class FakePage(string titleKey, string iconKey = "IconHome") : PageViewModel
{
public override string TitleKey { get; } = titleKey;
public override string IconKey { get; } = iconKey;
}
/// A second page type, so NavigateTo<TPage>() has something to discriminate on.
internal sealed class OtherFakePage : PageViewModel
{
public override string TitleKey => "Page.About";
public override string IconKey => "IconInfo";
}