Matching multiple properties in one Matcher
<p>I need to write Matcher which will check multiple properties. For single property i've used:</p>

<pre><code>import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.hasProperty;
import org.hamcrest.Matcher;
import org.hamcrest.Matchers;

    Matcher&lt;Class&gt; matcherName = Matchers.&lt;Class&gt; hasProperty("propertyName",equalTo(expectedValue));
</code></pre>

<p>how am I suppose to check more properties in one Matcher ?</p>