public void setContract(@Nullable Produce contract)
	{
		this.contract = contract;
		setStoredContract(contract);
		handleContractState();
	}
@Test
	public void cabbageContractCabbageDeadAndEmptyPatch()
	{
		final FarmingPatch patch = farmingGuildPatches.get(Varbits.FARMING_4773);

		assertNotNull(patch);

		when(farmingTracker.predictPatch(patch))
			.thenReturn(new PatchPrediction(Produce.CABBAGE, CropState.DEAD, 0, 2, 3));

		farmingContractManager.setContract(Produce.CABBAGE);

		assertEquals(SummaryState.IN_PROGRESS, farmingContractManager.getSummary());
		assertEquals(CropState.DEAD, farmingContractManager.getContractCropState());
	}