LogGuid:         "the-log-id",

			HealthCheckType:             cc_messages.PortHealthCheckType,
			HealthCheckTimeoutInSeconds: 123456,

			EgressRules: egressRules,

			ETag: "etag-updated-at",
		}
	})

	Describe("Build", func() {
		var desiredLRP *models.DesiredLRP

		JustBeforeEach(func() {
			desiredLRP, err = builder.Build(&desiredAppReq)
		})

		Describe("CPU weight calculation", func() {
			Context("when the memory limit is below the minimum value", func() {
				BeforeEach(func() {
					desiredAppReq.MemoryMB = recipebuilder.MinCpuProxy - 9999
				})

				It("returns 1", func() {
					Expect(desiredLRP.CpuWeight).To(BeEquivalentTo(1))
				})
			})

			Context("when the memory limit is above the maximum value", func() {
				BeforeEach(func() {