Untitled

 avatar
unknown
plain_text
2 years ago
483 B
3
Indexable
private fun getPropertyResponseMock(): PropertyResponse = spyk {
        PropertyResponse(PropertyEntity(), getPropertyEntityMock(), ApartmentEditEntity())
}

private fun getRelatedAdsResponseMock(): RelatedAdsResponse = spyk {
        RelatedAdsResponse(arrayListOf(getPropertyEntityMock()), arrayListOf(PropertyEntity()))
}

private fun getLocationResponseMock(): LocationResponse = spyk {
        location = PointEntity(latitude = 110.000, longitude = -88.033, roomIds = "3561")
}
Editor is loading...
Leave a Comment