@Test
public void testNoSourceIsCreatedIfNoConditionIsPresent() throws Exception {

	_addMediaQueries(
		new MediaQuery(
			Collections.emptyList(), RandomTestUtil.randomString()));
	String originalImgTag =
		"<img src=\"originalURL\" data-fileentryid=\"1234\"/>";
	StringBundler expectedSB = new StringBundler(3);
	expectedSB.append("<picture data-fileentryid=\"1234\">");
	expectedSB.append(originalImgTag);
	expectedSB.append("</picture>");
	String pictureTag = _amImageHTMLTagFactoryImpl.create(
		originalImgTag, _fileEntry);
	Assert.assertEquals(expectedSB.toString(), pictureTag);
}