### Question:
MetaDataBuilder { public List<org.androidtransfuse.model.manifest.MetaData> buildMetaData(ASTType astType) { MetaDataSet metaDataSet = astType.getAnnotation(MetaDataSet.class); MetaData metaData = astType.getAnnotation(MetaData.class); List<org.androidtransfuse.model.manifest.MetaData> convertedIntentFilters = new ArrayList<org.androidtransfuse.model.manifest.MetaData>(); if (metaDataSet != null) { for (MetaData metaDataItem : metaDataSet.value()) { convertedIntentFilters.add(buildMetaData(metaDataItem)); } } if (metaData != null) { convertedIntentFilters.add(buildMetaData(metaData)); } return convertedIntentFilters; }  List<org.androidtransfuse.model.manifest.MetaData> buildMetaData(ASTType astType);  }### Answer:
@Test public void testMetaData() { List<org.androidtransfuse.model.manifest.MetaData> metaDataList = metaDataBuilder.buildMetaData(metaDataTargetASTType); assertEquals(1, metaDataList.size()); org.androidtransfuse.model.manifest.MetaData metaData = metaDataList.get(0); assertEquals(TEST_NAME, metaData.getName()); assertEquals(TEST_RESOURCE, metaData.getResource()); assertEquals(TEST_VALUE, metaData.getValue()); }
@Test public void testMetaDataSet() { List<org.androidtransfuse.model.manifest.MetaData> metaDataList = metaDataBuilder.buildMetaData(metaDataSetTargetASTType); assertEquals(2, metaDataList.size()); org.androidtransfuse.model.manifest.MetaData metaData = metaDataList.get(0); assertEquals(TEST_NAME, metaData.getName()); assertEquals(TEST_RESOURCE, metaData.getResource()); assertEquals(TEST_VALUE, metaData.getValue()); org.androidtransfuse.model.manifest.MetaData metaData2 = metaDataList.get(1); assertEquals(TEST_NAME, metaData2.getName()); assertEquals(TEST_RESOURCE, metaData2.getResource()); assertEquals(TEST_VALUE, metaData2.getValue()); }