<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>mockito-flex Google Group</title>
  <link>http://groups.google.com/group/mockito-flex</link>
  <description>A mailing list for mockito-flex users</description>
  <language>en</language>
  <item>
  <title>Re: [mockito-flex] Re: Mockito problems - Please make sure you specified a call to stub in given Options</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/2475bc12a807342f?show_docid=2475bc12a807342f</link>
  <description>
  OK :) let me get you through some basics. &lt;br&gt; Why do you need mocking? You want to test A but it&#39;s hard since it depends &lt;br&gt; on B which depends on C etc. What do you do? You mock B. B is your &lt;br&gt; dependency while A is your system under test. &lt;br&gt; Using mockito you want to do what is needed by the test of A and *then* make
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/2475bc12a807342f?show_docid=2475bc12a807342f</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Fri, 18 Nov 2011 19:08:26 UT
</pubDate>
  </item>
  <item>
  <title>Re: Mockito problems - Please make sure you specified a call to stub in given Options</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/ef6dc7d70d384977?show_docid=ef6dc7d70d384977</link>
  <description>
  Sorry for the long reply. I guess one thing that I&#39;m not getting is &lt;br&gt; what you mean by system under test. In this case, I am assuming the &lt;br&gt; ScaleService but I wanted to clarify that. &lt;br&gt; &lt;p&gt;Also, I tried your suggestion and the test works fine: &lt;br&gt; &lt;p&gt;	[Test(async)] &lt;br&gt; public function mockitoGetScaleData1():void
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/ef6dc7d70d384977?show_docid=ef6dc7d70d384977</guid>
  <author>
  clemr...@gmail.com
  (Eric H)
  </author>
  <pubDate>Fri, 18 Nov 2011 18:11:30 UT
</pubDate>
  </item>
  <item>
  <title>Re: [mockito-flex] Re: Mockito problems - Please make sure you specified a call to stub in given Options</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/70d0cc77291c4208?show_docid=70d0cc77291c4208</link>
  <description>
  Once again, what you show in your test is hard to follow. &lt;br&gt; With mockito you work this way: &lt;br&gt; 1) setup mock *dependencies* for your* system under test* (I can&#39;t see any &lt;br&gt; system under test in your code, I can see a bunch of mocked dependencies &lt;br&gt; though) &lt;br&gt; 2) if it&#39;s needed setup stubs (given()....) &lt;br&gt; 3) call *system under test* (again in your code I can only see calling the
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/70d0cc77291c4208?show_docid=70d0cc77291c4208</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Wed, 16 Nov 2011 11:48:59 UT
</pubDate>
  </item>
  <item>
  <title>Re: Mockito problems - Please make sure you specified a call to stub in given Options</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/df0871322cc634f7?show_docid=df0871322cc634f7</link>
  <description>
  Just as a quick test, I ran this: &lt;br&gt; &lt;p&gt;[code] &lt;br&gt; [Test(async)] &lt;br&gt; public function mockitoGetScaleData1():void &lt;br&gt; { &lt;br&gt; var token:AsyncToken = &lt;br&gt; mockScaleService.getScaleData( faultHandler); &lt;br&gt; given(mockScaleService.getScal eData).willReturn(token); &lt;br&gt; verify().that(mockScaleService .getScaleData(faultHandler));
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/df0871322cc634f7?show_docid=df0871322cc634f7</guid>
  <author>
  clemr...@gmail.com
  (Eric H)
  </author>
  <pubDate>Tue, 15 Nov 2011 21:12:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: [mockito-flex] Mockito problems - Please make sure you specified a call to stub in given Options</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/72b5a0068e2223e7?show_docid=72b5a0068e2223e7</link>
  <description>
  I think the main reason is that you instantiate mockito on your own. I&#39;m &lt;br&gt; not sure where did you find it however that&#39;s not the right way. &lt;br&gt; MockitoRule creates Mockito instance in a global context and later on &lt;br&gt; global functions expose mockito functionality for you. &lt;br&gt; 1) Remove your manual instancing of Mockito
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/72b5a0068e2223e7?show_docid=72b5a0068e2223e7</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Sun, 13 Nov 2011 10:31:42 UT
</pubDate>
  </item>
  <item>
  <title>Mockito problems - Please make sure you specified a call to stub in given Options</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/37caf6ff0ec19fd2?show_docid=37caf6ff0ec19fd2</link>
  <description>
  Hello, &lt;br&gt; I&#39;m trying to get a handle on mocking w/ Mockito to and I keeping &lt;br&gt; getting this error: &lt;br&gt; &amp;quot;Please make sure you specified a call to stub in given&amp;quot;. Also, I &lt;br&gt; cannot get mockito to work unless I add the mock directive &lt;br&gt; outside the class: &lt;br&gt; [code] &lt;br&gt; [Mock(type=&amp;quot;common.services.Sc aleService&amp;quot;)]
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/0800e2669e9e23c3/37caf6ff0ec19fd2?show_docid=37caf6ff0ec19fd2</guid>
  <author>
  clemr...@gmail.com
  (Eric H)
  </author>
  <pubDate>Fri, 11 Nov 2011 19:42:06 UT
</pubDate>
  </item>
  <item>
  <title>Vs: Re: [mockito-flex] &quot;TestCase could not be found&quot; When running tests with maven</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/56572d22e724bdfc/3ff93ae04d090dc5?show_docid=3ff93ae04d090dc5</link>
  <description>
  Hi, thanks for reply! &lt;br&gt; I attach the sample project. &lt;br&gt; I have mockito-flex swc in local nexus so you maybe have to edit systemPath &lt;br&gt; at bottom of pom.xml. &lt;br&gt; And I use Maven 3.0.3. &lt;br&gt; Thanks for helping! Really appreciate!
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/56572d22e724bdfc/3ff93ae04d090dc5?show_docid=3ff93ae04d090dc5</guid>
  <author>
  aapae...@gmail.com
  (-Erno)
  </author>
  <pubDate>Wed, 24 Aug 2011 05:38:44 UT
</pubDate>
  </item>
  <item>
  <title>Re: [mockito-flex] &quot;TestCase could not be found&quot; When running tests with maven</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/56572d22e724bdfc/7b65e8e06eb203de?show_docid=7b65e8e06eb203de</link>
  <description>
  Hi, &lt;br&gt; Strange indeed. &lt;br&gt; Do you mind sending a sample project (pom.xml, some example test, &lt;br&gt; dependencies)? &lt;br&gt; Regards, &lt;br&gt; Kris
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/56572d22e724bdfc/7b65e8e06eb203de?show_docid=7b65e8e06eb203de</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Tue, 23 Aug 2011 11:11:33 UT
</pubDate>
  </item>
  <item>
  <title>&quot;TestCase could not be found&quot; When running tests with maven</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/56572d22e724bdfc/5025a67aae8a1241?show_docid=5025a67aae8a1241</link>
  <description>
  Hi! &lt;br&gt; Thanks for your great framework. &lt;br&gt; &lt;p&gt;I&#39;m trying to run tests with maven but if I use 1.4M4 or 1.4M5 I get &lt;br&gt; this error when testrunner starts: &lt;br&gt; &lt;p&gt;VerifyError: Error #1014: Class asunit.framework::TestCase could not &lt;br&gt; be found. &lt;br&gt; &lt;p&gt;	at flash.display::MovieClip/nextF rame() &lt;br&gt; at mx.managers::SystemManager/def erredNextFrame()[E:\dev
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/56572d22e724bdfc/5025a67aae8a1241?show_docid=5025a67aae8a1241</guid>
  <author>
  aapae...@gmail.com
  (-Erno)
  </author>
  <pubDate>Mon, 22 Aug 2011 16:35:19 UT
</pubDate>
  </item>
  <item>
  <title>Potential bug on asFunctionAndCall()</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/38d66ad3e81ae4b0/c46fbb3a380b38ef?show_docid=c46fbb3a380b38ef</link>
  <description>
  We are using mockito-1.4M3 and FlexUnit4. &lt;br&gt; &lt;p&gt;We are testing a class and mock the service in it. We are unable to &lt;br&gt; pass parameter to a function called by mock object. This is what the &lt;br&gt; code is like (with non-important code stripped out): &lt;br&gt; &lt;p&gt;public class Controller { &lt;br&gt; private var service:RemoteService;
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/38d66ad3e81ae4b0/c46fbb3a380b38ef?show_docid=c46fbb3a380b38ef</guid>
  <author>
  elian.hali...@gmail.com
  (papayavsbanana)
  </author>
  <pubDate>Wed, 22 Jun 2011 15:30:14 UT
</pubDate>
  </item>
  <item>
  <title>Re: [mockito-flex] Potential bug on asFunctionAndCall()</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/38d66ad3e81ae4b0/db476a33890a0d5d?show_docid=db476a33890a0d5d</link>
  <description>
  I&#39;ll take a look. Might be a bug. &lt;br&gt; Regards, &lt;br&gt; Kris
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/38d66ad3e81ae4b0/db476a33890a0d5d?show_docid=db476a33890a0d5d</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Wed, 22 Jun 2011 21:08:01 UT
</pubDate>
  </item>
  <item>
  <title>Re: [mockito-flex] Potential bug on asFunctionAndCall()</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/38d66ad3e81ae4b0/1aab511a9772c707?show_docid=1aab511a9772c707</link>
  <description>
  I&#39;ll take a look. Might be a bug. &lt;br&gt; Regards, &lt;br&gt; Kris
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/38d66ad3e81ae4b0/1aab511a9772c707?show_docid=1aab511a9772c707</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Wed, 22 Jun 2011 21:08:29 UT
</pubDate>
  </item>
  <item>
  <title>Re: Mocked ArrayCollection throws ReferenceError</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/5531e416856fcf0f/c001a8a09e813f72?show_docid=c001a8a09e813f72</link>
  <description>
  Hi Kris, &lt;br&gt; &lt;p&gt;Thanks for the response. I&#39;m not sure how the issue with application &lt;br&gt; domain is related here &lt;br&gt; &lt;p&gt;The interesting thing is that with the flexunit3 integration I could &lt;br&gt; mock ArrayCollection and I can mock an ArrayList with the flexunit4 &lt;br&gt; integration. I just cant seem to mock ArrayCollection with flexunit4.
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/5531e416856fcf0f/c001a8a09e813f72?show_docid=c001a8a09e813f72</guid>
  <author>
  mattjpo...@gmail.com
  (mjp)
  </author>
  <pubDate>Mon, 20 Jun 2011 19:19:07 UT
</pubDate>
  </item>
  <item>
  <title>Re: [mockito-flex] Verify assignments to public variables</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/12bb9c05ef8816e5/fa48d1cbddd3ff7c?show_docid=fa48d1cbddd3ff7c</link>
  <description>
  True - this would work but at this point I have no plans in doing so. You &lt;br&gt; can simply mark your property as bindable to achieve the same. &lt;br&gt; Regards, &lt;br&gt; Kris
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/12bb9c05ef8816e5/fa48d1cbddd3ff7c?show_docid=fa48d1cbddd3ff7c</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Tue, 14 Jun 2011 07:20:37 UT
</pubDate>
  </item>
  <item>
  <title>Re: [mockito-flex] Mocked ArrayCollection throws ReferenceError</title>
  <link>http://groups.google.com/group/mockito-flex/browse_thread/thread/5531e416856fcf0f/f87b292ef3fa2326?show_docid=f87b292ef3fa2326</link>
  <description>
  You may want to take a look at this issue: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://bitbucket.org/loomis/mockito-flex/issue/36/control-the-application-domain-in-which&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Regards, &lt;br&gt; Kris
  </description>
  <guid isPermaLink="true">http://groups.google.com/group/mockito-flex/browse_thread/thread/5531e416856fcf0f/f87b292ef3fa2326?show_docid=f87b292ef3fa2326</guid>
  <author>
  kris.karczmarc...@gmail.com
  (Kris)
  </author>
  <pubDate>Tue, 14 Jun 2011 07:17:21 UT
</pubDate>
  </item>
  </channel>
</rss>
