[Plugin] fix: turn into case object

2 jobs for dev in 38 minutes and 11 seconds (queued for 10 seconds)
Status Job ID Name Coverage
  Build
passed assemble #1860

00:28:48

 
  Test
passed unit-tests #1861

00:09:22