@Test
public void closePositionTest() throws Exception {

	OandaPositionManagementProvider service = new OandaPositionManagementProvider(OandaTestConstants.url,
			OandaTestConstants.accessToken);
	OandaPositionManagementProvider spy = doMockStuff("src/test/resources/positionForInstrument.txt", service);/*giving a filename although its of not much use here*/
	boolean success = spy.closePosition(OandaTestConstants.accountId, new TradeableInstrument<String>("AUD_NZD"));
	assertTrue(success);
	verify(spy.getHttpClient(), times(1)).execute(any(HttpDelete.class));
}