})
	})

	Describe("#GetInt", func() {
		It("calls GET on the redis connection and returns an int", func() {
			var getIntCalled bool
			fakeConnection.RespondToDo(func(command string, args ...interface{}) (interface{}, error) {
				getIntCalled = true
				Expect(command).To(Equal("GET"))
				Expect(args[0]).To(HaveLen(1))
				Expect(args[0].([]interface{})[0]).To(Equal("my key"))

				return int64(42), nil
			})

			val, err := commander.GetInt("my key")
			Expect(err).To(BeNil())
			Expect(getIntCalled).To(BeTrue())
			Expect(val).To(Equal(42))
		})
	})

	Describe("#Expire", func() {
		It("calls EXPIRE on the redis connection", func() {
			var getCalled bool
			fakeConnection.RespondToDo(func(command string, args ...interface{}) (interface{}, error) {
				getCalled = true
				Expect(command).To(Equal("EXPIRE"))
				Expect(args[0]).To(HaveLen(2))
				Expect(args[0].([]interface{})[0]).To(Equal("my key"))
				Expect(args[0].([]interface{})[1]).To(Equal(100))