I've had success (almost 9 months now) with a pair of Mandarins in a JBJ NanoCube 24. I have a Tom Hatch 'n' Feeder bin the overflow corner surrounded by a big mat of cheato, and I dose the hatchery with pods, rotifers, brine shrimp, vitamins, and phyto. I have a 10g tank that is used exclusively for breeding amphi and copepods that I transfer over with a baster. I keep phyto, rotifer, and brine shrimp cultures going in bottles. The cube had lots of LR and was well-established when the Mandarins went in as all the inhabitants (none of whom ate zooplankton) had just been moved to a bigger tank; the glass was covered with a variety of pods. The Mandarins had been starving at Petco for a week when I broke down and "rescued" them (I had never before or since seen a male-female pair at a LFS, a big reason I couldn't resist) and they immediately gorged themselves and fattened up. I wish the tank were taller so they had more room for their mating dance, but they still do an abbreviated version of it after lights-out sometimes. They have been fine so far, but I have exercised constant vigilance bordering on paranoia concerning their food.
The exposed surface of the cheato gives them a grazing area where they can go food-hunting, but they can't reach all the way in to get pods from the area around the hatchery so there is some breeding going on in there as well as in the external cultures. I have an airstone below the cheato which moves water up through it to the overflow and acts like a chamberless skimmer.
I've tried small pellets and fish roe, but have not actually seen them eat this stuff. I imagine as long as there are pods they are not going to eat dead food.
I spend about $35 every couple of months buying various species of zooplankton and strains of phyto to add diversity. It is a lot of work, but is very enjoyable to lavish these beautiful creatures with all the love I can.