/** * {@inheritDoc} */ @Override public SubstitutionDescriptor getSubstitutionDescriptor() { return new SubstitutionDescriptor(true, true); }
/** * {@inheritDoc} */ @Override public SubstitutionDescriptor getSubstitutionDescriptor() { return new SubstitutionDescriptor(false, true); } }
/** * {@inheritDoc} */ @Override public SubstitutionDescriptor getSubstitutionDescriptor() { return new SubstitutionDescriptor(true, false); }
/** * {@inheritDoc} */ @Override public SubstitutionDescriptor getSubstitutionDescriptor() { // we just use for intercepting, no substitutions return new SubstitutionDescriptor(false, false); }
/** * {@inheritDoc} */ @Override public SubstitutionDescriptor getSubstitutionDescriptor() { return new SubstitutionDescriptor(false, true); } }
@BeforeMethod public void setReturnValueDescriptor() { when(sip.getSubstitutionDescriptor()).thenReturn(new SubstitutionDescriptor(true, true)); }
@BeforeMethod public void setReturnValueDescriptor() { when(sip.getSubstitutionDescriptor()).thenReturn(new SubstitutionDescriptor(true, false)); }
@BeforeMethod public void setReturnValueDescriptor() { when(sip.getSubstitutionDescriptor()).thenReturn(new SubstitutionDescriptor(false, false)); }
@BeforeMethod public void setReturnValueDescriptor() { when(sip.getSubstitutionDescriptor()).thenReturn(new SubstitutionDescriptor(false, true)); }