classdef test_methods <handle
  methods
    function tst1 (self)
      methodNames = methods (self);
    end
  end
end

%!test
%! a = test_methods;
%! a.tst1();

