Skip to content

Instantly share code, notes, and snippets.

View LudoMeurillon's full-sized avatar

Ludovic Meurillon LudoMeurillon

View GitHub Profile
@LudoMeurillon
LudoMeurillon / SpyAndMockFailTest
Created April 11, 2012 09:08 — forked from clakech/SpyAndMockFailTest
Why Mockito @SPY and @mock doesn't work together ?
package com.bla.web.controller;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.Mock;
import org.mockito.Spy;
import org.mockito.InjectMocks;
import org.mockito.runners.MockitoJUnitRunner;
import com.bla.web.dto.FamilyAndItems;