I am curious what kind of syntax is Apex method System.runAs(){ }
where in curly brackets I can run my code which will be executed as passed user.
I would like to write my own method with that syntax where between braces I can specify my code with some DML Operations and everything will be rolled back. For example:
Myclass.rollback(){
insert new Account();
}