concept issue in category flex

appears as: issues, An issue, issue, n issue, Issue, The issue, issues, The issues
Flex on Java

This is an excerpt from Manning's book Flex on Java.

Figure 2.7. The issues list page with the integrated Issues menu button

Let’s start with Issue.java as seen in listing 2.3. For the FlexBugs application you need something to store issues and comments. An issue describes something that needs fixing to meet a requirement. This could be a bug, a new feature, a refactor, or an optimization. A single issue can have many comments so a relationship is built between the issue and comment objects.

  • In order to ensure that the issues I’m viewing are up to date, when I click the Refresh button, the application should retrieve the issues from the server and refresh the data grid with the results.
  • The important part of this story is the when. The action identified in the when statement will need to be tested by your Presenter tests. The when that you will be testing is the part of the story that states when I click the Refresh button, the application should retrieve the issues from the server.

  • In order to ensure that the issues I’m viewing are up-to-date, when I click the Refresh button, the application should retrieve the issues from the server and when the result comes back from the server, refresh the data grid with the results.