mrunit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukas Nalezenec (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MRUNIT-199) Mapper.Context and Reducer.Context are not fully mocked
Date Mon, 17 Feb 2014 11:05:19 GMT
Lukas Nalezenec created MRUNIT-199:
--------------------------------------

             Summary: Mapper.Context and Reducer.Context are not fully mocked
                 Key: MRUNIT-199
                 URL: https://issues.apache.org/jira/browse/MRUNIT-199
             Project: MRUnit
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Lukas Nalezenec
            Assignee: Lukas Nalezenec
             Fix For: 1.1.0


Both Context classes are mocked used Mockito but not all behaviour is specified. By default,
Mockito returns null for unspecified calls. This is causing NPE. This change instructs Mockito
to return Mocks, not nuls.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message