@Override
        public Tensor embed(String text, Context context, TensorType tensorType) {
            assertEquals(expectedText, text);
            assertEquals(tensorToReturn.type(), tensorType);
            return tensorToReturn;
        }
Tests a subset of the configuration in the system test of this
container-search/src/test/java/com/yahoo/search/query/profile/config/test/XmlReadingTestCase.java