diff --git a/features/bootstrap/FeatureContext.php b/features/bootstrap/FeatureContext.php
index <HASH>..<HASH> 100644
--- a/features/bootstrap/FeatureContext.php
+++ b/features/bootstrap/FeatureContext.php
@@ -7,8 +7,6 @@ use Behat\Behat\Context\ClosuredContextInterface,
 
 use \WP_CLI\Utils;
 
-require_once 'PHPUnit/Framework/Assert/Functions.php';
-
 require_once __DIR__ . '/../../php/utils.php';
 
 /**
diff --git a/features/bootstrap/support.php b/features/bootstrap/support.php
index <HASH>..<HASH> 100644
--- a/features/bootstrap/support.php
+++ b/features/bootstrap/support.php
@@ -2,6 +2,12 @@
 
 // Utility functions used by Behat steps
 
+function assertEquals( $expected, $actual ) {
+	if ( $expected != $actual ) {
+		throw new Exception( "Actual value: " . var_export( $actual ) );
+	}
+}
+
 function checkString( $output, $expected, $action ) {
 	switch ( $action ) {
replace PHPUnit assertEquals() with homegrown variant