@@ -25,11 +25,17 @@ |
||
25 | 25 | $this->doSnapshotAssertion($actual, $driver ?? new VarDriver()); |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $actual |
|
30 | + */ |
|
28 | 31 | public function assertMatchesXmlSnapshot($actual) |
29 | 32 | { |
30 | 33 | $this->assertMatchesSnapshot($actual, new XmlDriver()); |
31 | 34 | } |
32 | 35 | |
36 | + /** |
|
37 | + * @param string $actual |
|
38 | + */ |
|
33 | 39 | public function assertMatchesJsonSnapshot($actual) |
34 | 40 | { |
35 | 41 | $this->assertMatchesSnapshot($actual, new JsonDriver()); |