def test_installed_feature(self):
        capabilties = "Feature Name : Capa1\r\n State : Enabled\r\n" \
                      "Feature Name : Capa2\r\n State : Disabled\r\n"

        mock = MagicMock(return_value=capabilties)
        with patch.dict(dism.__salt__, {'cmd.run': mock}):
            out = dism.installed_features()
            mock.assert_called_once_with('DISM /Online /Get-Features')
            self.assertEqual(out, ["Capa1"])
Retrieve the size of the constant array.
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/win_dism_test.py/DISMTestCase.test_installed_feature--crossover with--dataset/ETHPy150Open punchagan/cinspect/cinspect/vendor/clang/cindex.py/Type.get_array_size