Try to make HateoasObjenesisCacheDisablerTests more robust

pull/8988/merge
Andy Wilkinson 7 years ago
parent 6d8c333016
commit b59bc20f58

@ -41,6 +41,8 @@ public class HateoasObjenesisCacheDisablerTests {
@Before
@After
public void resetCacheField() {
ReflectionTestUtils.setField(HateoasObjenesisCacheDisabler.class, "cacheDisabled",
false);
this.objenesis = (ObjenesisStd) ReflectionTestUtils
.getField(DummyInvocationUtils.class, "OBJENESIS");
ReflectionTestUtils.setField(this.objenesis, "cache",

Loading…
Cancel
Save