Fix to special case Dispose method to be treated as non-action

#1294
@rynowak @yishaigalatzer 
By definition, this will not be null. I think what you want is Assert.NotEmpty