Expect(r.Params).To(BeAssignableToTypeOf(&rds.CreateDBInstanceInput{})) Expect(r.Params).To(Equal(createDBInstanceInput)) r.Error = createDBInstanceError } rdssvc.Handlers.Send.PushBack(rdsCall) }) It("does not return error", func() { err := rdsDBInstance.Create(dbInstanceIdentifier, dbInstanceDetails) Expect(err).ToNot(HaveOccurred()) }) Context("when has AllocatedStorage", func() { BeforeEach(func() { dbInstanceDetails.AllocatedStorage = 100 createDBInstanceInput.AllocatedStorage = aws.Int64(100) }) It("does not return error", func() { err := rdsDBInstance.Create(dbInstanceIdentifier, dbInstanceDetails) Expect(err).ToNot(HaveOccurred()) }) }) Context("when has AutoMinorVersionUpgrade", func() { BeforeEach(func() { dbInstanceDetails.AutoMinorVersionUpgrade = true createDBInstanceInput.AutoMinorVersionUpgrade = aws.Bool(true) }) It("does not return error", func() {