private function getVariation($type)
    {
        if ($type == 'blueprint') {
            return array();
        } elseif (method_exists($this->factory, "{$type}Fixture")) {
            return call_user_func(array($this->factory, "{$type}Fixture"));
        } elseif (method_exists($this->factory, "{$type}_fixture")) { // @deprecated Backwards compatibility
            return call_user_func(array($this->factory, "{$type}_fixture"));
        } elseif (method_exists($this->factory, $type)) {
            return call_user_func(array($this->factory, $type));
        } else {
            throw new \BadMethodCallException("No such variation '$type' on " . get_class($this->factory));
        }
    }