JBehave
  1. JBehave
  2. JBEHAVE-78

We should be able to mock classes.

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Currently JBehave throws an error if an attempt to mock a class, rather than an interface, is made.

      The ability to mock classes means that users don't have to create interfaces artificially. In many instances, where a default implementation of a class exists (eg: repositories, file handlers, etc.) there will only ever be one implementation outside of the behaviours.

        Activity

        Elizabeth Keogh made changes -
        Field Original Value New Value
        Assignee Elizabeth Keogh [ sirenian ]
        Hide
        Elizabeth Keogh added a comment -

        We can mock classes.

        Show
        Elizabeth Keogh added a comment - We can mock classes.
        Elizabeth Keogh made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Elizabeth Keogh
            Reporter:
            Elizabeth Keogh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: