<commit_before># Extra Assertions for Mink

Get extra assertion for your Mink tests

### Installation

With Composer:
```
  composer require --dev fonsecas72/mink-extra-assertions dev-master
```

### Usage


PHPUnit Assert Facade

```php
\MinkExtra\ExtraAssertion::phpunit()->assertTrue(true);
```

Beberlei Assert Facade

```php
\MinkExtra\ExtraAssertion::beberlei()->digit('1');
```

Webmozart Assert Facade

```php
\MinkExtra\ExtraAssertion::webmozart()->startsWith('fooBar', 'foo');
```

WebAssert Wrapper

```php
\MinkExtra\ExtraAssertion::webAssert($mink)->pageTextContains('text')
```

Custom Assert

```php
\MinkExtra\ExtraAssertion::webAssert($mink)->elementIsVisible('xpath', 'xpath');

```<commit_msg>added webmozart & beberlei assert<commit_after># Extra Assertions for Mink

Get extra assertion for your Mink tests

### Installation

```
  composer require --dev fonsecas72/mink-extra-assertions dev-master
```

### Usage


PHPUnit Assert Facade

```php
\MinkExtra\ExtraAssertion::phpunit()->assertTrue(true);
```

Beberlei Assert Facade

```php
\MinkExtra\ExtraAssertion::beberlei()->digit('1');
```

Webmozart Assert Facade

```php
\MinkExtra\ExtraAssertion::webmozart()->startsWith('fooBar', 'foo');
```

WebAssert Wrapper

```php
\MinkExtra\ExtraAssertion::webAssert($mink)->pageTextContains('text')
```

Custom Asserts

```php
\MinkExtra\ExtraAssertion::webAssert($mink)->elementIsVisible('xpath', 'xpath');

```

{'fraction_non_alphanumeric': 0.16216216216216217, 'fraction_numerical': 0.003955174686882004, 'mean_word_length': 4.5, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6659116', 'n_tokens_mistral': 592, 'n_tokens_neox': 504, 'n_words': 93}