using ShareeBike.Model.Device;
using Xamarin.Essentials;
namespace SharedBusinessLogic.Tests.Framework.Model.Device
{
public class DeviceMock : ISmartDevice
{
///
/// Holds the id of the device.
///
private string m_strDeviceId = "522c6ff6886198fd";
public string Manufacturer => "Faiphone";
public string Model => "987";
public DevicePlatform Platform => DevicePlatform.UWP;
public string VersionText => "17.11";
///
/// Constructs a device mock object setting device id to default value.
///
public DeviceMock()
{
}
///
/// Constructs a device mock object.
///
/// Mocked Id
public DeviceMock(string p_strDeviceId)
{
m_strDeviceId = p_strDeviceId;
}
/// Gets the device ID.
///
public string Identifier
=> m_strDeviceId;
/// Close the application.
public void CloseApplication()
{
}
}
}