response = DesiredStateServerResponse{
					Results: map[string]models.DesiredAppState{
						a1.AppGuid: a1.DesiredState(0),
						a2.AppGuid: a2.DesiredState(0),
					},
					BulkToken: BulkToken{
						Id: 5,
					},
				}

				httpClient.LastRequest().Succeed(response.ToJson())
			})

			It("should store the desired states", func() {
				desired, _ := store.GetDesiredState()
				Ω(desired).Should(HaveLen(2))
				Ω(desired).Should(ContainElement(EqualDesiredState(a1.DesiredState(0))))
				Ω(desired).Should(ContainElement(EqualDesiredState(a2.DesiredState(0))))
			})

			It("should request the next batch", func() {
				Ω(httpClient.Requests).Should(HaveLen(2))
				Ω(httpClient.LastRequest().URL.Query().Get("bulk_token")).Should(Equal(response.BulkTokenRepresentation()))
			})

			It("should not bump the freshness yet", func() {
				Ω(store.DesiredIsFresh).Should(BeFalse())
			})

			It("should not send a result down the resultChan yet", func() {