### Question:
VObjectData extends APIData<VObject> { public static List<VObjectData> findByOwner(UserData inOwner) { if ((inOwner == null) || (inOwner.getRecord() == null)) { return Collections.emptyList(); } return VObjectData.generateList(Factories.VOBJECT.findByOwner(inOwner.getRecord())); } VObjectData(VObject inObject); static VObjectData getData(VObject inVObject); long getId(); String getObject_login(); UserData getOwner(); boolean hasInbox(); static VObjectData findByAPIId(String inAPIId, String inAPIKey); Date getCreationDate(); String getTimeZone(); Date getLastPing(); int getState(); int getMode(); String getSerial(); static List<VObjectData> findByOwner(UserData inOwner); static List<VObjectData> findLastCreatedByType(int count, ObjectType inType); static VObjectData findByName(String inObjectName); static VObjectData findBySerial(String inObjectSerial); ObjectType getObjectType(); void setName(String theName); ObjectProfileData getProfile(); ObjectPreferencesData getPreferences(); boolean isAsleep(); boolean isAwaken(); boolean isDisconnected(); ObjectSleepData getSleepObject(int inDay); static List<VObjectData> searchObjects(String inName, ObjectType inObjectType, String inCity, String inCountry, int skip, int count); void setPreferences(boolean inNotifyReceived, TimezoneData theTimezone, SleepTime inSleepTime); VObject getReference(); static List<VObjectData> checkObject(List<String> inObjectList, UserData inUserSender, String apiKey); static VObjectData createObject(ObjectType inObjectType, String inSerial, String inLabel, UserData inUser, String inLocation); static boolean isNameValid(String inName); void setSerial(String serial); TimeZone getJavaTimeZone(); void addDefaultServices(); boolean isDuplicated(); String getLocation(); static VObjectData find(long id); String getEmailAddress(); void changeStatus(int status); boolean isCurrentlyRecipient(); void setLastActivityTime();  }### Answer:
@Test public void findByOwnerTest() { final UserData theUser = UserData.getData(getKowalskyUser()); VObjectData.createObject(ObjectType.NABAZTAG_V1, "serialV1", "lapin1", theUser, "Paris"); VObjectData.createObject(ObjectType.NABAZTAG_V2, "serialV2", "lapin2", theUser, "Paris"); VObjectData.createObject(ObjectType.MIRROR, "serialMirror", "mirror", theUser, "Paris"); final List<VObjectData> theObjects = VObjectData.findByOwner(theUser); Assert.assertEquals(3, theObjects.size()); }