### Question:
FeedData extends RecordData<Feed> { public static FeedData getFeed(String url, TtsLangData language, Feed.Type type) { return FeedData.getFeed(url, language, type, Feed.AccessRight.FULL); } protected  FeedData(Feed inRecord); static FeedData getData(Feed Feed); Feed getReference(); static FeedData getFeed(String url, TtsLangData language, Feed.Type type); static FeedData getFeed(String url, TtsLangData language, Feed.Type type, Feed.AccessRight accessRight); static FeedData findByUrlAndType(String url, Type type); String getUrl(); TtsLangData getLanguage(); FeedItemData addItem(List<Files> contents, String title, String link, String uri, int maxItemsAmount); Timestamp getLastModified(); String getEtag(); static FeedData findById(long id); Long getId(); boolean shouldBeDeleted(); Type getType();  }### Answer:
@Test public void getNewFeedTest() { final Feed feed = Factories.FEED.create("url", Feed.Type.PODCAST, Factories.LANG.findByIsoCode("fr-FR"), Feed.AccessRight.FREE); final FeedData newFeed = FeedData.getFeed("url2", TtsLangData.findByISOCode("fr-FR"), Feed.Type.PODCAST); Assert.assertNotNull(newFeed); Assert.assertTrue(newFeed.isValid()); Assert.assertFalse(feed.equals(newFeed.getRecord())); }
@Test public void getNewFeedByTypeTest() { final Feed feed = Factories.FEED.create("url", Feed.Type.PODCAST, Factories.LANG.findByIsoCode("fr-FR"), Feed.AccessRight.FREE); final FeedData newFeed = FeedData.getFeed("url", TtsLangData.findByISOCode("fr-FR"), Feed.Type.RSS); Assert.assertNotNull(newFeed); Assert.assertTrue(newFeed.isValid()); Assert.assertFalse(feed.equals(newFeed.getRecord())); }