basic stub of platform with mock for tests