@Test public void should_remove_default_lang() { ArrayList<TextType> textTypes = new ArrayList<>(); TextType textType = new TextType(); textType.setValue("value"); textTypes.add(textType); TextByLang textByLang = new TextByLang(textTypes); assertThat(textByLang.getTextTypes()).hasSize(0); }
public List<TextType> getTextTypes() { return textTypes; }
TextByLang { public List<TextType> getTextTypes() { return textTypes; } }
TextByLang { public List<TextType> getTextTypes() { return textTypes; } TextByLang();  TextByLang(List<TextType> textTypes); }
TextByLang { public List<TextType> getTextTypes() { return textTypes; } TextByLang();  TextByLang(List<TextType> textTypes); List<TextType> getTextTypes(); boolean isNotEmpty(); }
TextByLang { public List<TextType> getTextTypes() { return textTypes; } TextByLang();  TextByLang(List<TextType> textTypes); List<TextType> getTextTypes(); boolean isNotEmpty();  }