Class FluxUtilityProxyTest
java.lang.Object
uk.ac.gda.beamline.i24.server.api.FluxUtilityProxyTest
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected org.mockito.verification.VerificationModeonceOnly()protected booleanprotected booleanprotected booleanproxyIsCalled(String anticipatedName) voidvoidvoidvoidvoidvoidvoidvoidprotected voidprotected voidwhereProxyIsNamed(String nameOfProxy)
-
Field Details
-
proxy
-
ourDelegate
-
-
Constructor Details
-
FluxUtilityProxyTest
public FluxUtilityProxyTest()
-
-
Method Details
-
testThatFluxUtilityProxyCanBeInstantiated
public void testThatFluxUtilityProxyCanBeInstantiated() -
testThatFluxUtilityProxyAcceptsNewName
public void testThatFluxUtilityProxyAcceptsNewName() -
testThatFluxUtilityProxyAcceptsDelegate
public void testThatFluxUtilityProxyAcceptsDelegate() -
testThatActualFluxCallPassedToDelegate
public void testThatActualFluxCallPassedToDelegate() -
testThatCalculateFluxCallPassedToDelegate
public void testThatCalculateFluxCallPassedToDelegate() -
testThatReadFluxCallPassedToDelegate
public void testThatReadFluxCallPassedToDelegate() -
testThatGetCurrentFluxPassesInvokesCallToDelegate
public void testThatGetCurrentFluxPassesInvokesCallToDelegate() -
testThatAreShuttersOpenCallPassedToDelegate
public void testThatAreShuttersOpenCallPassedToDelegate() -
givenADelegate
protected void givenADelegate() -
givenANewProxy
protected void givenANewProxy() -
proxyHasDelegate
protected boolean proxyHasDelegate() -
whenDelegateIsAddedToProxy
protected void whenDelegateIsAddedToProxy() -
whereProxyIsNamed
-
onceOnly
protected org.mockito.verification.VerificationMode onceOnly() -
proxyExists
protected boolean proxyExists() -
proxyIsCalled
-