Galen Framework Hover in JavaScript

A bit of a small audience for this one, but a project I was put on wanted to us the Galen Framework to test their UI. For people who do not know what this framework is, it is a method of writing acceptance code that matches up to the output in the browser window. This can be coded to work for all different device, sizes and URLs. One hard space I came to was to action the hover state of an element and then test it.