@Test public void isValidShouldReturnFalseFormIdNull() { FormInstanceMetadata formInstanceMetadata = new FormInstanceMetadata("test", "test", null, Collections.emptySet()); assertFalse(formInstanceMetadata.isValid()); }
public boolean isValid() { return !TextUtils.isEmpty(zipFileName) && !TextUtils.isEmpty(formInstanceData) && !TextUtils .isEmpty(formId); }
FormInstanceMetadata { public boolean isValid() { return !TextUtils.isEmpty(zipFileName) && !TextUtils.isEmpty(formInstanceData) && !TextUtils .isEmpty(formId); } }
FormInstanceMetadata { public boolean isValid() { return !TextUtils.isEmpty(zipFileName) && !TextUtils.isEmpty(formInstanceData) && !TextUtils .isEmpty(formId); } FormInstanceMetadata(String zipFileName, String formId, String formInstanceData,
            @NonNull Set<String> mediaFileNames); }
FormInstanceMetadata { public boolean isValid() { return !TextUtils.isEmpty(zipFileName) && !TextUtils.isEmpty(formInstanceData) && !TextUtils .isEmpty(formId); } FormInstanceMetadata(String zipFileName, String formId, String formInstanceData,
            @NonNull Set<String> mediaFileNames); String getZipFileName(); String getFormId(); Set<String> getMediaFileNames(); String getFormInstanceData(); boolean isValid(); }
FormInstanceMetadata { public boolean isValid() { return !TextUtils.isEmpty(zipFileName) && !TextUtils.isEmpty(formInstanceData) && !TextUtils .isEmpty(formId); } FormInstanceMetadata(String zipFileName, String formId, String formInstanceData,
            @NonNull Set<String> mediaFileNames); String getZipFileName(); String getFormId(); Set<String> getMediaFileNames(); String getFormInstanceData(); boolean isValid();  }