<commit_before># Adequack

[![Gem Version](https://badge.fury.io/rb/adequack.png)](http://badge.fury.io/rb/adequack)
[![Build Status](https://travis-ci.org/Somebody32/adequack.png?branch=master)](https://travis-ci.org/Somebody32/adequack)
[![Dependency Status](https://gemnasium.com/Somebody32/adequack.png)](https://gemnasium.com/Somebody32/adequack)

Everyone likes isolation testing. And when you do it then you stubbing and mocking a lot.  
But the main concern when you use this approach is that you stubs will be out of sync with the
real objects.   
Adequack addresses this issue.

## Problem 1. Missing methods

Let's dive into this toy code:
```ruby
class Dog
  def eat_food
    puts "delicious!"
  end
end

class Owner
  def initialize(dog)
    @dog = dog<commit_msg>Fix "your" in readme.<commit_after># Adequack

[![Gem Version](https://badge.fury.io/rb/adequack.png)](http://badge.fury.io/rb/adequack)
[![Build Status](https://travis-ci.org/Somebody32/adequack.png?branch=master)](https://travis-ci.org/Somebody32/adequack)
[![Dependency Status](https://gemnasium.com/Somebody32/adequack.png)](https://gemnasium.com/Somebody32/adequack)

Everyone likes isolation testing. And when you do it, you are stubbing and mocking a lot.  
But the main concern when you use this approach is that your stubs will be out of sync with the
real objects.
Adequack addresses this issue.

## Problem 1. Missing methods

Let's dive into this toy code:
```ruby
class Dog
  def eat_food
    puts "delicious!"
  end
end

class Owner
  def initialize(dog)
    @dog = dog
{'fraction_non_alphanumeric': 0.12435897435897436, 'fraction_numerical': 0.011538461538461539, 'mean_word_length': 4.458041958041958, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, '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': '3448818', 'n_tokens_mistral': 553, 'n_tokens_neox': 510, 'n_words': 152}