How to easily initialize a QueueItem (for use in test cases)

During initial development I do most of my testing from within UiPath Studio, with focus on “single workflows low in the invoke tree”.

I have some battle-tested approaches for TestCases to setup in the Given block any values I want to pass in as arguments, including dictionaries and JSON.

This approach works well, but I am wondering if there is a more elegant way for the QueueItem? (on this unit level a real queue is obviously out of the picture)

image

Do you happen to know any other VB.NET syntax?
It is mostly the need for 2 steps that I would like to get rid of.

I tried the keyword with but wasn’t successful

New UiPath.Core.QueueItem With {
    .SpecificContent = New Dictionary(Of String, Object) From {
        {"key1", "value1"},…