### Question:
OrderRepository implements OrderDataSource { @Override public void setIsFirstSpendOrder(boolean isFirstSpendOrder) { localData.setIsFirstSpendOrder(isFirstSpendOrder); } private  OrderRepository(@NonNull final BlockchainSource blockchainSource,
		@NonNull final EventLogger eventLogger,
		@NonNull final OrderDataSource.Remote remoteData,
		@NonNull final OrderDataSource.Local localData); static void init(@NonNull final BlockchainSource blockchainSource,
		@NonNull final EventLogger eventLogger,
		@NonNull final OrderDataSource.Remote remoteData,
		@NonNull final OrderDataSource.Local localData); static OrderRepository getInstance(); @Nullable OrderList getAllCachedOrderHistory(); @Override void getAllOrderHistory(@NonNull final KinCallback<OrderList> callback); ObservableData<OpenOrder> getOpenOrder(); @Override void getOrder(@NonNull String orderID, @Nullable final KinCallback<Order> callback); @Override void createOrder(@NonNull final String offerID, @Nullable final KinCallback<OpenOrder> callback); @Override void submitEarnOrder(@NonNull final String offerID, @Nullable String content, @NonNull final String orderID, final String title,
		@Nullable final KinCallback<Order> callback); @Override void submitSpendOrder(@NonNull final String offerID, @Nullable String transaction,
		@NonNull final String orderID, final String title,
		@Nullable final KinCallback<Order> callback); @Override void cancelOrderSync(@NonNull String orderID); @Override void cancelOrder(@NonNull final String offerID, @NonNull final String orderID,
		@Nullable final KinCallback<Void> callback); @Override OpenOrder createExternalOrderSync(@NonNull final String orderJwt); @Override void purchase(String offerJwt, @Nullable final KinCallback<OrderConfirmation> callback); @Override void requestPayment(String offerJwt, final KinCallback<OrderConfirmation> callback); @Override void addOrderObserver(@NonNull Observer<Order> observer); @Override void removeOrderObserver(@NonNull Observer<Order> observer); @Override void isFirstSpendOrder(@NonNull final KinCallback<Boolean> callback); @Override void setIsFirstSpendOrder(boolean isFirstSpendOrder); @Override void getExternalOrderStatus(@NonNull String offerID,
		@NonNull final KinCallback<OrderConfirmation> callback); @Override void logout();  }### Answer:
@Test public void setIsFirstSpendOrder_true() throws Exception { orderRepository.setIsFirstSpendOrder(false); verify(local).setIsFirstSpendOrder(false); orderRepository.setIsFirstSpendOrder(true); verify(local).setIsFirstSpendOrder(true); }