public void StringSelectorClone() { tlog.Debug(tag, $"StringSelectorClone START"); Selector <string> selector = new Selector <string> { Pressed = image_path, Disabled = image_path, DisabledFocused = image_path, DisabledSelected = image_path, Other = image_path }; var testingTarget = new StringSelector(selector); Assert.IsNotNull(testingTarget, "null handle"); Assert.IsInstanceOf <StringSelector>(testingTarget, "Should return StringSelector instance."); try { var result = testingTarget.Clone(); tlog.Debug(tag, "result : " + result); } catch (Exception) { // System.InvalidCastException : Unable to cast object // of type 'Tizen.NUI.BaseComponents.Selector`1[Tizen.NUI.String]' // to type 'Tizen.NUI.Components.StringSelector' // To fix tlog.Debug(tag, $"StringSelectorClone END (OK)"); Assert.Pass("Passed!"); } }