<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why are there no interfaces for the components? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/why-are-there-no-interfaces-for-the-components/m-p/387239#M9035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hopefully this isn't too dumb of a question, but I am wondering why ESRI didn't use interfaces when defining the components?&amp;nbsp; Something like IMap or ILayer ITiledLayer, etc.&amp;nbsp; I want something like that b/c it makes those things easier to mock in my unit tests, while allow me to code to an interface.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I realize I can still mock these classes, but I have to explicitly mock them.&amp;nbsp; If we had interfaces, I could use ASMock's FlexUnit 4 test runner to implicitly mock.&amp;nbsp; These saves me tons of time and makes my tests less brittle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, I could be missing the boat here (wouldn't be the first time) but thought I'd ask the question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Glenn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 May 2010 17:14:44 GMT</pubDate>
    <dc:creator>GlennGoodrich</dc:creator>
    <dc:date>2010-05-13T17:14:44Z</dc:date>
    <item>
      <title>Why are there no interfaces for the components?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/why-are-there-no-interfaces-for-the-components/m-p/387239#M9035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hopefully this isn't too dumb of a question, but I am wondering why ESRI didn't use interfaces when defining the components?&amp;nbsp; Something like IMap or ILayer ITiledLayer, etc.&amp;nbsp; I want something like that b/c it makes those things easier to mock in my unit tests, while allow me to code to an interface.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I realize I can still mock these classes, but I have to explicitly mock them.&amp;nbsp; If we had interfaces, I could use ASMock's FlexUnit 4 test runner to implicitly mock.&amp;nbsp; These saves me tons of time and makes my tests less brittle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, I could be missing the boat here (wouldn't be the first time) but thought I'd ask the question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Glenn&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 17:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/why-are-there-no-interfaces-for-the-components/m-p/387239#M9035</guid>
      <dc:creator>GlennGoodrich</dc:creator>
      <dc:date>2010-05-13T17:14:44Z</dc:date>
    </item>
  </channel>
</rss>

