fake_command_runner.CommandSpec{ Path: "/depot/some-id/bin/iomux-spawn", }, func(cmd *exec.Cmd) error { cmd.Stdout.Write([]byte("ready\n")) cmd.Stdout.Write([]byte("active\n")) return nil }, ) } Describe("Snapshotting", func() { It("writes a JSON ContainerSnapshot", func() { var err error err = container.Start() Expect(err).ToNot(HaveOccurred()) memoryLimits := backend.MemoryLimits{ LimitInBytes: 1, } diskLimits := backend.DiskLimits{ BlockLimit: 1, Block: 2, BlockSoft: 3, BlockHard: 4, InodeLimit: 11, Inode: 12, InodeSoft: 13,