package com.xtremelabs.robolectric.shadows;

import android.content.Context;
import android.util.AttributeSet;
import android.webkit.WebView;
import com.xtremelabs.robolectric.util.Implementation;
import com.xtremelabs.robolectric.util.Implements;

@SuppressWarnings({"UnusedDeclaration"})
@Implements(WebView.class)
public class ShadowWebView extends ShadowAbsoluteLayout {

    private String lastUrl;

    @Override public void __constructor__(Context context, AttributeSet attributeSet) {
        super.__constructor__(context, attributeSet);
    }

    @Implementation
    public void loadUrl(String url) {
        lastUrl = url;
    }

    public String getLastLoadedUrl() {
        return lastUrl;
    }
}

@@ -631,24 +631,111 @@
 url;%0A    %7D%0A%0A
+    /**%0A     * Non-Android accessor.%0A     *%0A     * @return the last loaded url%0A     */%0A
     public S

update javadoc